package com.xique.park.bean.request.web.chargeRule;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 添加规则请求request
 */
@Data
public class AddChargeRuleRequest {

    @NotBlank(message = "模板名称不能为空")
    private String ruleName;

    @NotBlank(message = "收费模板不能为空")
    private String template;

    @NotNull(message = "收费规则内容不能为空")
    private JSONObject content;

    private TypeGarage typeGarage;
}
